package com.blulioncn.matrix.monitoring.mapper.one;



import com.blulioncn.matrix.monitoring.pojo.UserModel;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    UserModel findById(Integer id);
    UserModel findByPhoneAndNicknameAndLogintypeAndPackage(UserModel userModel);
    UserModel findByPhoneAndLoginTypeAndPackage(UserModel userModel);
    UserModel findByPhoneAndPackage(UserModel userModel);
    UserModel findByPhoneAndPassAndLoginTypeAndPackage(UserModel userModel);
    UserModel findByWxUnionIdAndLoginTypePackage(UserModel userModel);
    List<UserModel> findByPackageAndLoginType(UserModel userModel);
//
//    UserModel findByPass(String password);
//    UserModel findByPhoneAndPass(UserModel userModel);
//    List<UserModel> findAll();
//
//
    void add(UserModel userModel);
    void updateById(UserModel userModel);
//    UserModel checkAnswer(UserModel userModel);
//
//    void updateGoldCoin(UserModel userModel);
//    void resetPass(UserModel userModel);


}
